Yoast\WP\SEO\Integrations\Admin\Workouts_Integration A

Total Complexity 57
Dependencies 7
Dependents 1
Total lines 489
Lines of code 269
Logical lines of code 105
Comment lines 150
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
should_display_configuration_workout_notice()
S
57 7 18
remove_old_submenu_page()
S
58 6 16
get_upsell_text()
S
56 5 21
get_update_premium_notice()
S
45 3 49
on_wpseo_admin_page_or_dashboard()
S
56 5 18
enqueue_assets()
S
50 4 28
get_upsell_link()
S
61 5 12
are_site_representation_name_and_logo_set()
S
61 5 12
configuration_workout_notice()
S
49 2 37
should_update_premium()
S
74 2 4
has_premium_subscription_expired()
S
73 2 4
render_target()
S
72 2 6
add_submenu_page()
S
63 1 11
get_workouts_option()
S
75 1 4
__construct()
S
69 1 7
has_premium_subscription_activated()
S
80 1 3
user_can_do_configuration_workout()
S
80 1 3
user_can_edit_wordpress_options()
S
80 1 3
register_hooks()
S
69 1 6
is_configuration_workout_finished()
S
74 1 4
get_conditionals()
S
80 1 3